import Mock from 'mockjs'
// const Mock = require('mockjs')

let data = Mock.mock({
  list: {
    "ranklist0|10": [
      {
        authorName: "乱" + "@city",
        bookId: "@id",
        bookName: "圣武" + "@city",
        categoryName: "奇幻玄幻",
        coverUrl: "@image(100x100, @color, @city)",
        description: "地球要被银河系深处的仙道宗门强拆了，而地球人对此一无所知。↵↵一个热血玄幻故事。↵↵ 请关注公众号【乱世狂刀】。",
        serialStatus: 0,
        subCateName: "东方玄幻",
        updteChapterName: "1429、时间的力量"
      }
    ],
    "ranklist1|10": [
      {
        authorName: "乱" + "@city",
        bookId: "@id",
        bookName: "圣武" + "@city",
        categoryName: "奇幻玄幻",
        coverUrl: "@image(100x100, @color, @city)",
        description: "地球要被银河系深处的仙道宗门强拆了，而地球人对此一无所知。↵↵一个热血玄幻故事。↵↵ 请关注公众号【乱世狂刀】。",
        serialStatus: 0,
        subCateName: "东方玄幻",
        updteChapterName: "1429、时间的力量"
      }
    ],
    "ranklist2|10": [
      {
        authorName: "乱" + "@city",
        bookId: "@id",
        bookName: "圣武" + "@city",
        categoryName: "奇幻玄幻",
        coverUrl: "@image(100x100, @color, @city)",
        description: "地球要被银河系深处的仙道宗门强拆了，而地球人对此一无所知。↵↵一个热血玄幻故事。↵↵ 请关注公众号【乱世狂刀】。",
        serialStatus: 0,
        subCateName: "东方玄幻",
        updteChapterName: "1429、时间的力量"
      }
    ],
    "ranklist3|10": [
      {
        authorName: "乱" + "@city",
        bookId: "@id",
        bookName: "圣武" + "@city",
        categoryName: "奇幻玄幻",
        coverUrl: "@image(100x100, @color, @city)",
        description: "地球要被银河系深处的仙道宗门强拆了，而地球人对此一无所知。↵↵一个热血玄幻故事。↵↵ 请关注公众号【乱世狂刀】。",
        serialStatus: 0,
        subCateName: "东方玄幻",
        updteChapterName: "1429、时间的力量"
      }
    ]
  }
})

Mock.mock('/api/book', data.list)
